package com.ydcycloud.base.enums;

public enum CommonEnums {
//1表示学员，2表示考试和练习，3表示系统通知，4表示开班报名,5表示预约报名
	ACCOUNT_OR_PASSWORD_ERROR("用户名或者密码错误",100),
	TWICE_PWD_DIFFERENT("两次输入密码不一致",101),
	ACCOUNT_DISABLE("用户已被禁用",102),
	LOGIN_OVERDUE("登录已过期",103),
	ORIGINAL_PWD("原密码不正确",104),
	
	NOT_FIND_SUBJECT("选中的科目不存在或者已被删除",200),
	NOT_FIND_EXAM_PARPER("暂无可用于考试的试卷",201),
	FIND_NOT_SUBMIT_EXAM_PARPER("有未提交的试卷",202),
	MORE_THAN_EXAM_VALID_FREQUENCY("超出考试有效次数",203),
	EXAM_DATE_OVERDUE("考试时间已过期",204),
	UNDER_EXAM_DATE("未到考试时间",205),
	RADIO_DEFICIENCY("单选题不够",206),
	CHECK_DEFICIENCY("多选题不够",207),
	JUDEG_DEFICIENCY("判断题不够",208),
	NOT_USER_SUBJECT("暂不能使用该科目",209),
	COMPLETE_SUBMIT_EXAM_PARPER("你已提交该试卷",210),
	TEMPORARY_NOT_JOIN_ERROR_QUESTION("该题目暂未放入错题集，移除失败",211),
	JOIN_ERROR_QUESTION_ERROR("该题目不存在或已被删除，放入错题集失败",212),
	
	
	SUCCESS("成功", 300),
	SYSTEM_ERROR("系统错误", 301),
	PARANETER_ERROR("参数错误",302),
	NOT_DATA("暂无数据",303),
	MOBILE_PHONE_ERROR("手机号码格式错误",304),
	PHONE_ERROR("电话号码格式错误",305),
	EMAIL_ERROR("邮箱地址格式错误",306),
	IS_NOT_WECHAT("请在微信浏览器打开",307),
	ID_CARD_ERROR("身份证号码格式错误",308),
	PAY_FAIL("支付失败",309),
	ORDER_NOT_FIND("订单不存在或者已被删除",310),
	ORDER_OVERDUE("订单已过期",311),
	
	NOT_FIND_SIGN_UP_SUBJECT("该科目不存在或者已被删除",400),
	NOT_ALLOW_SIGN_UP("该科目暂不能报名",401),
	SIGN_UP_EXCESS("报名人数已满",402),
	SIGN_UP_AGAIN_FAIL("你已报名该科目，不能重复报名",403),
	SIGN_UP_ADMIN_LOGIN_AGAIN("请重新登录",404),
	SIGN_UP_ADMIN_DISABLE("该管理员账号已被禁用",405),
	SIGN_UP_ACCOUNT_OR_PWD_ERROR("用户名或者密码错误",406),
	
	NOT_FIND_BESPEAK_SUBJECT("该科目不存在或者已被删除",500),
	NOT_ALLOW_BESPEAK("该科目暂不能预约报名",501),
	NON_CONFORMITY_APPOINTMENT_CONDITION("不符合预约报名条件",502),
	PASS_SUBJECT("你已通过该科目，暂不能报名",503),
	NOT_BESPEAK("该次预约暂不能报名",504),
	MORE_THAN_PLACES("已达到最多可预约报名人数，暂不能报名",505),
	ALREADY_CANCEL("你已取消该次预约报名",506),
	BESPEAK_END("该次报名已出结果，取消失败",507),
	AUDITION_BESPEAKED("不可二次预约",508),
	BESPEAK_AUDITION_END("试听预约已截止报名",509),
	SIGN_NUM_FULL("报名人数已满",510)
	,
	
	
	SUCCESS2("成功", 40000);
	private String label;
	private int value;

	private CommonEnums(String label, int value) {

		this.label = label;
		this.value = value;
	}

	public String getLabel() {
		return this.label;
	}

	public Integer getValue() {
		return this.value;
	}
}
